package com.parking.certified.form;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

@Data
@ApiOperation("物业登录对象")
public class CertifiedLoginForm {
    /***
     * 物业账号
     */
    @ApiModelProperty("物业账号")
    private String certifiedAccountAccount;

    /**
     * 物业密码
     */
    @ApiModelProperty("物业密码")
    @Length(min = 6,max = 8,message = "密码应是6-8位")
    private String certifiedAccountPass;
}
